/**
 * @Author: yy
 * @Date: 2019/6/20
 * @Last Modified by: huanghuan
 * @Last Modified time: 2019-12-23 16:41:03
 */
import axios from '@/api/fetch';
import * as types from './types';
import SERVER from '@/api/server';
//  查询回访信息
export const getReturnSalesList = params => axios.get(`${SERVER.CYXDMS_CLUE}/actioned/getRturnFollowRecord`, { params });
//  编辑明细
export const getReturnSalesById = id => axios.get(`${SERVER.CYXDMS_CLUE}/actioned/getFindActionDetailId?actionId=${id}`, { id: Number(id) });
//  编辑保存
// export const updateReturnSalesInfo = (params,id) => axios.put(`${SERVER.CYXDMS_CLUE}/actioned/updateReturnFollowRecord/${id}`,params  );
export const updateReturnSalesInfo = params => axios.post(`${SERVER.CYXDMS_CLUE}/actioned/updateReturnFollowRecord`, params );
//获取订单车辆信息
export const getReturnActionDetailId = id => axios.get(`${SERVER.CYXDMS_CLUE}/actioned/getReturnActionDetailId?actionId=${id}`, { id: Number(id) });
